package ar.com.temporis.framework.comparator;

/**
 * Factory for the sample model to test BeansVerifier.
 *
 * @author raul.bajales@gmail.com
 */
public class SampleBeansFactory {

  public static Model getFullModel1() {
    Model retValue = new Model("model1", 1);
    retValue.getSubModelList().add(new SubModel("subModel1-model1", 1.0));
    retValue.getSubModelList().add(new SubModel("subModel2-model1", 2.0));
    retValue.getSubModelList().add(new SubModel("subModel3-model1", 3.0));
    return retValue;
  }

  public static Model getFullModel2() {
    Model retValue = new Model("model2", 2);
    retValue.getSubModelList().add(new SubModel("subModel1-model2", 4.0));
    retValue.getSubModelList().add(new SubModel("subModel2-model2", 5.0));
    retValue.getSubModelList().add(new SubModel("subModel3-model2", 6.0));
    return retValue;
  }
}
